package com.hna.eking.iBatis;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

public interface ImageInfoImp {
	@Select("select * from ImageInfo where Image_ID = #{Image_ID}")
	public List<ImageInfoMapper> getByTableName(String Image_ID);
	
	@Insert("insert into ImageInfo values(#{Image_ID}, #{Image_Width}, #{Image_Height}, #{Image_Desc}, #{CrtDt}, #{Image_User})")
	public int InsertTableInfo(ImageInfoMapper ImageInfo);	
	
	@Delete("delete from ImageInfo where Image_ID = #{Image_ID}")
	public int DeleteTableInfo(String Image_ID);
}
